﻿using Abp.Domain.Entities.Auditing;
using Microsoft.AspNetCore.Http;
using System;

namespace Camc.Quality.Inspection.InspectionStrat
{

    /// <summary>
    /// 文件上传成功后的实体
    /// </summary
    public class InspectionFileUploadDto : FullAuditedEntity<Guid>
    {
        /// <summary>
        /// 文件名称：文件上传的原始名称
        /// </summary>
        public string FileName { get; set; }
        /// <summary>
        /// 配置的文件保存路径+guid生成的文件名+文件的原始后缀
        /// </summary>
        public string FileUrl { get; set; }
        public long Size { get; set; }
        public IFormFile IFormFile;
    }
}
